package cn.tqfeiyang.smartadmin.business.organization.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.*;
import lombok.Data;

import java.io.Serializable;

/**
 * 职务修改请求
 *
 * @author tqfeiyang
 * @since 2024-09-30
 */
@Data
public class PositionUpdateDTO implements Serializable {

    /**
     * 名称
     */
    @Schema(description = "名称")
    @Size(max = 50, message = "名称长度不能超过50字符")
    private String name;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

    /**
     * 职级
     */
    @Schema(description = "职级")
    @Size(max = 10, message = "职级长度不能超过10字符")
    private String level;

    /**
     * 排序
     */
    @Schema(description = "排序")
    private Integer sort;

}